import requests
from util.headers import get_header

url = "https://api.bilibili.com/x/web-interface/wbi/index/top/feed/rcmd?web_location=1430650&y_num=5&fresh_type=3&feed_version=V8&fresh_idx_1h=2&fetch_row=1&fresh_idx=2&brush=1&device=win&homepage_ver=1&ps=10&last_y_num=5&screen=1400-645&seo_info=&tt_exp=&last_showlist=av_115439761884210,av_115429041247296,av_115435399809730,ad_5614,av_115443922638261,av_115422380755036,av_n_115441406056469,av_n_115439543780386,av_n_115440013610046,av_n_115428722481731%3Blogin_card_undefined,av_115433201996436,av_115422313580772,ad_5614_115446875426016,av_115445885571302,av_115439443117431,av_n_115450801295127,av_n_115457059199491,av_n_115457294143551,av_n_115421491494936&uniq_id=753434131994&w_rid=e47a5a096784540cf8764e1463971456&wts=1761790189"
res = requests.get(url, headers=get_header())
print(res.json())
